update syntax 5

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...

...

... back to index page OE documentation



PARAMETER ==: DATATYPE IDENTIFER }}} Notes:

  • The procedure statement block must not contain a return statememt.

See Also: procedures

declare a function

FUNCDECLARE

FUNCDECLARE ==: [SCOPETYPE] 'function' IDENTIFIER '(' [PARMLIST] ')' [STMTBLK] 'end' 'function' 
PARMLIST ==: PARAMETER [',' PARMLIST] 
PARAMETER ==: DATATYPE IDENTIFER 
Notes:

  • The function statement block must contain a return statememt.

See Also: functions

declare a user defined type

TYPEDECLARE

TYPEDECLARE ==: [SCOPETYPE] 'type' IDENTIFIER '(' PARAMETER ')' [STMTBLK] 'end' 'type' 
PARAMETER ==: DATATYPE IDENTIFER 
Notes:

  • The type statement block must contain a return statememt.
  • It must return an integer; 0 means that the supplied argument is not of the correct type.

See Also: types

return the result of a function

RETURN

RETURN ==: 'return' EXPRESSION 

See Also: types

default namespace

NAMESPACE ==: 'namespace' IDENTIFIER EOL 

See Also: Using namespaces

with options

WITHSTMT

WITHSTMT ==: [ "with" | "without" ] WITHOPTION 
WITHOPTION ==: [ "profile" | "profile_time" | "trace" | "batch" | 
                 "type_check" | "indirect_includes" | "inline" | WITHWARNING ] 
WITHWARNING ==: "warning" [ WARNOPT] 
WARNOPT ==: SETWARN | ADDWARN | SAVEWARN | RESTOREWARN | STRICTWARN 
SETWARN ==: ['='] '{' WARNLIST '}' 
ADDWARN ==: ['+=' | '&='] '{' WARNLIST '}' 
SAVEWARN ==: 'save' 
RESTOREWARN ==: 'restore' 
STRICTWARN ==: 'strict' 

See Also: with / without

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu